Optimal. Leaf size=87 \[ -\frac {2 \cosh (e+f x)}{3 (a-b)^2 f \sqrt {a-b+b \cosh ^2(e+f x)}}+\frac {\cosh (e+f x) \sinh ^2(e+f x)}{3 (a-b) f \left (a-b+b \cosh ^2(e+f x)\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {3265, 386, 197}
\begin {gather*} \frac {\sinh ^2(e+f x) \cosh (e+f x)}{3 f (a-b) \left (a+b \cosh ^2(e+f x)-b\right )^{3/2}}-\frac {2 \cosh (e+f x)}{3 f (a-b)^2 \sqrt {a+b \cosh ^2(e+f x)-b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 197
Rule 386
Rule 3265
Rubi steps
\begin {align*} \int \frac {\sinh ^3(e+f x)}{\left (a+b \sinh ^2(e+f x)\right )^{5/2}} \, dx &=-\frac {\text {Subst}\left (\int \frac {1-x^2}{\left (a-b+b x^2\right )^{5/2}} \, dx,x,\cosh (e+f x)\right )}{f}\\ &=\frac {\cosh (e+f x) \sinh ^2(e+f x)}{3 (a-b) f \left (a-b+b \cosh ^2(e+f x)\right )^{3/2}}-\frac {2 \text {Subst}\left (\int \frac {1}{\left (a-b+b x^2\right )^{3/2}} \, dx,x,\cosh (e+f x)\right )}{3 (a-b) f}\\ &=-\frac {2 \cosh (e+f x)}{3 (a-b)^2 f \sqrt {a-b+b \cosh ^2(e+f x)}}+\frac {\cosh (e+f x) \sinh ^2(e+f x)}{3 (a-b) f \left (a-b+b \cosh ^2(e+f x)\right )^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.22, size = 67, normalized size = 0.77 \begin {gather*} \frac {\sqrt {2} \cosh (e+f x) (-5 a+3 b+(a-3 b) \cosh (2 (e+f x)))}{3 (a-b)^2 f (2 a-b+b \cosh (2 (e+f x)))^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.02, size = 64, normalized size = 0.74
method | result | size |
default | \(\frac {\left (a \left (\sinh ^{2}\left (f x +e \right )\right )-3 b \left (\sinh ^{2}\left (f x +e \right )\right )-2 a \right ) \cosh \left (f x +e \right )}{3 \left (a +b \left (\sinh ^{2}\left (f x +e \right )\right )\right )^{\frac {3}{2}} \left (a^{2}-2 a b +b^{2}\right ) f}\) | \(64\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 955 vs.
\(2 (84) = 168\).
time = 0.56, size = 955, normalized size = 10.98 \begin {gather*} -\frac {b^{4} e^{\left (-10 \, f x - 10 \, e\right )} - 4 \, a^{3} b + 6 \, a^{2} b^{2} - b^{4} - {\left (16 \, a^{4} - 32 \, a^{3} b + 6 \, a^{2} b^{2} + 10 \, a b^{3} - 5 \, b^{4}\right )} e^{\left (-2 \, f x - 2 \, e\right )} + 10 \, {\left (2 \, a^{3} b - 3 \, a^{2} b^{2} + 3 \, a b^{3} - b^{4}\right )} e^{\left (-4 \, f x - 4 \, e\right )} + 10 \, {\left (3 \, a^{2} b^{2} - 3 \, a b^{3} + b^{4}\right )} e^{\left (-6 \, f x - 6 \, e\right )} + 5 \, {\left (2 \, a b^{3} - b^{4}\right )} e^{\left (-8 \, f x - 8 \, e\right )}}{12 \, {\left (a^{4} - 2 \, a^{3} b + a^{2} b^{2}\right )} {\left (2 \, {\left (2 \, a - b\right )} e^{\left (-2 \, f x - 2 \, e\right )} + b e^{\left (-4 \, f x - 4 \, e\right )} + b\right )}^{\frac {5}{2}} f} - \frac {2 \, a^{2} b^{2} - 2 \, a b^{3} + b^{4} + 5 \, {\left (4 \, a^{3} b - 6 \, a^{2} b^{2} + 4 \, a b^{3} - b^{4}\right )} e^{\left (-2 \, f x - 2 \, e\right )} + 2 \, {\left (24 \, a^{4} - 48 \, a^{3} b + 49 \, a^{2} b^{2} - 25 \, a b^{3} + 5 \, b^{4}\right )} e^{\left (-4 \, f x - 4 \, e\right )} + 10 \, {\left (6 \, a^{3} b - 9 \, a^{2} b^{2} + 5 \, a b^{3} - b^{4}\right )} e^{\left (-6 \, f x - 6 \, e\right )} + 5 \, {\left (4 \, a^{2} b^{2} - 4 \, a b^{3} + b^{4}\right )} e^{\left (-8 \, f x - 8 \, e\right )} + {\left (2 \, a b^{3} - b^{4}\right )} e^{\left (-10 \, f x - 10 \, e\right )}}{4 \, {\left (a^{4} - 2 \, a^{3} b + a^{2} b^{2}\right )} {\left (2 \, {\left (2 \, a - b\right )} e^{\left (-2 \, f x - 2 \, e\right )} + b e^{\left (-4 \, f x - 4 \, e\right )} + b\right )}^{\frac {5}{2}} f} - \frac {2 \, a b^{3} - b^{4} + 5 \, {\left (4 \, a^{2} b^{2} - 4 \, a b^{3} + b^{4}\right )} e^{\left (-2 \, f x - 2 \, e\right )} + 10 \, {\left (6 \, a^{3} b - 9 \, a^{2} b^{2} + 5 \, a b^{3} - b^{4}\right )} e^{\left (-4 \, f x - 4 \, e\right )} + 2 \, {\left (24 \, a^{4} - 48 \, a^{3} b + 49 \, a^{2} b^{2} - 25 \, a b^{3} + 5 \, b^{4}\right )} e^{\left (-6 \, f x - 6 \, e\right )} + 5 \, {\left (4 \, a^{3} b - 6 \, a^{2} b^{2} + 4 \, a b^{3} - b^{4}\right )} e^{\left (-8 \, f x - 8 \, e\right )} + {\left (2 \, a^{2} b^{2} - 2 \, a b^{3} + b^{4}\right )} e^{\left (-10 \, f x - 10 \, e\right )}}{4 \, {\left (a^{4} - 2 \, a^{3} b + a^{2} b^{2}\right )} {\left (2 \, {\left (2 \, a - b\right )} e^{\left (-2 \, f x - 2 \, e\right )} + b e^{\left (-4 \, f x - 4 \, e\right )} + b\right )}^{\frac {5}{2}} f} - \frac {b^{4} + 5 \, {\left (2 \, a b^{3} - b^{4}\right )} e^{\left (-2 \, f x - 2 \, e\right )} + 10 \, {\left (3 \, a^{2} b^{2} - 3 \, a b^{3} + b^{4}\right )} e^{\left (-4 \, f x - 4 \, e\right )} + 10 \, {\left (2 \, a^{3} b - 3 \, a^{2} b^{2} + 3 \, a b^{3} - b^{4}\right )} e^{\left (-6 \, f x - 6 \, e\right )} - {\left (16 \, a^{4} - 32 \, a^{3} b + 6 \, a^{2} b^{2} + 10 \, a b^{3} - 5 \, b^{4}\right )} e^{\left (-8 \, f x - 8 \, e\right )} - {\left (4 \, a^{3} b - 6 \, a^{2} b^{2} + b^{4}\right )} e^{\left (-10 \, f x - 10 \, e\right )}}{12 \, {\left (a^{4} - 2 \, a^{3} b + a^{2} b^{2}\right )} {\left (2 \, {\left (2 \, a - b\right )} e^{\left (-2 \, f x - 2 \, e\right )} + b e^{\left (-4 \, f x - 4 \, e\right )} + b\right )}^{\frac {5}{2}} f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 1214 vs.
\(2 (79) = 158\).
time = 0.55, size = 1214, normalized size = 13.95 \begin {gather*} \frac {\sqrt {2} {\left ({\left (a - 3 \, b\right )} \cosh \left (f x + e\right )^{6} + 6 \, {\left (a - 3 \, b\right )} \cosh \left (f x + e\right ) \sinh \left (f x + e\right )^{5} + {\left (a - 3 \, b\right )} \sinh \left (f x + e\right )^{6} - 3 \, {\left (3 \, a - b\right )} \cosh \left (f x + e\right )^{4} + 3 \, {\left (5 \, {\left (a - 3 \, b\right )} \cosh \left (f x + e\right )^{2} - 3 \, a + b\right )} \sinh \left (f x + e\right )^{4} + 4 \, {\left (5 \, {\left (a - 3 \, b\right )} \cosh \left (f x + e\right )^{3} - 3 \, {\left (3 \, a - b\right )} \cosh \left (f x + e\right )\right )} \sinh \left (f x + e\right )^{3} - 3 \, {\left (3 \, a - b\right )} \cosh \left (f x + e\right )^{2} + 3 \, {\left (5 \, {\left (a - 3 \, b\right )} \cosh \left (f x + e\right )^{4} - 6 \, {\left (3 \, a - b\right )} \cosh \left (f x + e\right )^{2} - 3 \, a + b\right )} \sinh \left (f x + e\right )^{2} + 6 \, {\left ({\left (a - 3 \, b\right )} \cosh \left (f x + e\right )^{5} - 2 \, {\left (3 \, a - b\right )} \cosh \left (f x + e\right )^{3} - {\left (3 \, a - b\right )} \cosh \left (f x + e\right )\right )} \sinh \left (f x + e\right ) + a - 3 \, b\right )} \sqrt {\frac {b \cosh \left (f x + e\right )^{2} + b \sinh \left (f x + e\right )^{2} + 2 \, a - b}{\cosh \left (f x + e\right )^{2} - 2 \, \cosh \left (f x + e\right ) \sinh \left (f x + e\right ) + \sinh \left (f x + e\right )^{2}}}}{3 \, {\left ({\left (a^{2} b^{2} - 2 \, a b^{3} + b^{4}\right )} f \cosh \left (f x + e\right )^{8} + 8 \, {\left (a^{2} b^{2} - 2 \, a b^{3} + b^{4}\right )} f \cosh \left (f x + e\right ) \sinh \left (f x + e\right )^{7} + {\left (a^{2} b^{2} - 2 \, a b^{3} + b^{4}\right )} f \sinh \left (f x + e\right )^{8} + 4 \, {\left (2 \, a^{3} b - 5 \, a^{2} b^{2} + 4 \, a b^{3} - b^{4}\right )} f \cosh \left (f x + e\right )^{6} + 4 \, {\left (7 \, {\left (a^{2} b^{2} - 2 \, a b^{3} + b^{4}\right )} f \cosh \left (f x + e\right )^{2} + {\left (2 \, a^{3} b - 5 \, a^{2} b^{2} + 4 \, a b^{3} - b^{4}\right )} f\right )} \sinh \left (f x + e\right )^{6} + 2 \, {\left (8 \, a^{4} - 24 \, a^{3} b + 27 \, a^{2} b^{2} - 14 \, a b^{3} + 3 \, b^{4}\right )} f \cosh \left (f x + e\right )^{4} + 8 \, {\left (7 \, {\left (a^{2} b^{2} - 2 \, a b^{3} + b^{4}\right )} f \cosh \left (f x + e\right )^{3} + 3 \, {\left (2 \, a^{3} b - 5 \, a^{2} b^{2} + 4 \, a b^{3} - b^{4}\right )} f \cosh \left (f x + e\right )\right )} \sinh \left (f x + e\right )^{5} + 2 \, {\left (35 \, {\left (a^{2} b^{2} - 2 \, a b^{3} + b^{4}\right )} f \cosh \left (f x + e\right )^{4} + 30 \, {\left (2 \, a^{3} b - 5 \, a^{2} b^{2} + 4 \, a b^{3} - b^{4}\right )} f \cosh \left (f x + e\right )^{2} + {\left (8 \, a^{4} - 24 \, a^{3} b + 27 \, a^{2} b^{2} - 14 \, a b^{3} + 3 \, b^{4}\right )} f\right )} \sinh \left (f x + e\right )^{4} + 4 \, {\left (2 \, a^{3} b - 5 \, a^{2} b^{2} + 4 \, a b^{3} - b^{4}\right )} f \cosh \left (f x + e\right )^{2} + 8 \, {\left (7 \, {\left (a^{2} b^{2} - 2 \, a b^{3} + b^{4}\right )} f \cosh \left (f x + e\right )^{5} + 10 \, {\left (2 \, a^{3} b - 5 \, a^{2} b^{2} + 4 \, a b^{3} - b^{4}\right )} f \cosh \left (f x + e\right )^{3} + {\left (8 \, a^{4} - 24 \, a^{3} b + 27 \, a^{2} b^{2} - 14 \, a b^{3} + 3 \, b^{4}\right )} f \cosh \left (f x + e\right )\right )} \sinh \left (f x + e\right )^{3} + 4 \, {\left (7 \, {\left (a^{2} b^{2} - 2 \, a b^{3} + b^{4}\right )} f \cosh \left (f x + e\right )^{6} + 15 \, {\left (2 \, a^{3} b - 5 \, a^{2} b^{2} + 4 \, a b^{3} - b^{4}\right )} f \cosh \left (f x + e\right )^{4} + 3 \, {\left (8 \, a^{4} - 24 \, a^{3} b + 27 \, a^{2} b^{2} - 14 \, a b^{3} + 3 \, b^{4}\right )} f \cosh \left (f x + e\right )^{2} + {\left (2 \, a^{3} b - 5 \, a^{2} b^{2} + 4 \, a b^{3} - b^{4}\right )} f\right )} \sinh \left (f x + e\right )^{2} + {\left (a^{2} b^{2} - 2 \, a b^{3} + b^{4}\right )} f + 8 \, {\left ({\left (a^{2} b^{2} - 2 \, a b^{3} + b^{4}\right )} f \cosh \left (f x + e\right )^{7} + 3 \, {\left (2 \, a^{3} b - 5 \, a^{2} b^{2} + 4 \, a b^{3} - b^{4}\right )} f \cosh \left (f x + e\right )^{5} + {\left (8 \, a^{4} - 24 \, a^{3} b + 27 \, a^{2} b^{2} - 14 \, a b^{3} + 3 \, b^{4}\right )} f \cosh \left (f x + e\right )^{3} + {\left (2 \, a^{3} b - 5 \, a^{2} b^{2} + 4 \, a b^{3} - b^{4}\right )} f \cosh \left (f x + e\right )\right )} \sinh \left (f x + e\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 276 vs.
\(2 (79) = 158\).
time = 1.14, size = 276, normalized size = 3.17 \begin {gather*} \frac {{\left ({\left (\frac {{\left (a^{3} e^{\left (12 \, e\right )} - 3 \, a^{2} b e^{\left (12 \, e\right )}\right )} e^{\left (2 \, f x\right )}}{a^{4} e^{\left (6 \, e\right )} - 2 \, a^{3} b e^{\left (6 \, e\right )} + a^{2} b^{2} e^{\left (6 \, e\right )}} - \frac {3 \, {\left (3 \, a^{3} e^{\left (10 \, e\right )} - a^{2} b e^{\left (10 \, e\right )}\right )}}{a^{4} e^{\left (6 \, e\right )} - 2 \, a^{3} b e^{\left (6 \, e\right )} + a^{2} b^{2} e^{\left (6 \, e\right )}}\right )} e^{\left (2 \, f x\right )} - \frac {3 \, {\left (3 \, a^{3} e^{\left (8 \, e\right )} - a^{2} b e^{\left (8 \, e\right )}\right )}}{a^{4} e^{\left (6 \, e\right )} - 2 \, a^{3} b e^{\left (6 \, e\right )} + a^{2} b^{2} e^{\left (6 \, e\right )}}\right )} e^{\left (2 \, f x\right )} + \frac {a^{3} e^{\left (6 \, e\right )} - 3 \, a^{2} b e^{\left (6 \, e\right )}}{a^{4} e^{\left (6 \, e\right )} - 2 \, a^{3} b e^{\left (6 \, e\right )} + a^{2} b^{2} e^{\left (6 \, e\right )}}}{3 \, {\left (b e^{\left (4 \, f x + 4 \, e\right )} + 4 \, a e^{\left (2 \, f x + 2 \, e\right )} - 2 \, b e^{\left (2 \, f x + 2 \, e\right )} + b\right )}^{\frac {3}{2}} f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.62, size = 148, normalized size = 1.70 \begin {gather*} \frac {2\,{\mathrm {e}}^{e+f\,x}\,\left ({\mathrm {e}}^{2\,e+2\,f\,x}+1\right )\,\sqrt {a+b\,{\left (\frac {{\mathrm {e}}^{e+f\,x}}{2}-\frac {{\mathrm {e}}^{-e-f\,x}}{2}\right )}^2}\,\left (a-3\,b-10\,a\,{\mathrm {e}}^{2\,e+2\,f\,x}+a\,{\mathrm {e}}^{4\,e+4\,f\,x}+6\,b\,{\mathrm {e}}^{2\,e+2\,f\,x}-3\,b\,{\mathrm {e}}^{4\,e+4\,f\,x}\right )}{3\,f\,{\left (a-b\right )}^2\,{\left (b+4\,a\,{\mathrm {e}}^{2\,e+2\,f\,x}-2\,b\,{\mathrm {e}}^{2\,e+2\,f\,x}+b\,{\mathrm {e}}^{4\,e+4\,f\,x}\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________